<template>
  <div class="hz-footer-button-box">
    <hz-button @click="submitFun" type="primary">{{ submitName }}</hz-button>
    <hz-button @click="cancelFun" :delay="0">{{ cancelName }}</hz-button>
  </div>
</template>

<script setup>
const emits = defineEmits(['submitFun', 'cancelFun'])
const props = defineProps({
  submitName: {
    type: String,
    default: '确定'
  },
  cancelName: {
    type: String,
    default: '取消'
  },
})

// 提交
function submitFun(){
  emits('submitFun')
}

// 取消
function cancelFun(){
  emits('cancelFun')
}


</script>
<style lang="scss" scoped>

</style>
